const req1 = require.context('./element-ui', false, /\.js$/);
const req2 = require.context('./dataV', false, /\.js$/);

const requireAll = (requireContext) => requireContext.keys().map(requireContext);
requireAll(req1)
requireAll(req2)